Skip to content

fix(web-ui): NavPanel workspace list card layout (non-sticky)#599

Merged
GCWing merged 2 commits into
mainfrom
fix/nav-workspace-list-card-layout
May 8, 2026
Merged

fix(web-ui): NavPanel workspace list card layout (non-sticky)#599
GCWing merged 2 commits into
mainfrom
fix/nav-workspace-list-card-layout

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented May 8, 2026

Summary

NavPanel workspace and assistant workspace rows previously used sticky positioning with an IntersectionObserver sentinel (useStickyObserver) to toggle an is-stuck class.

This change switches those cards to normal flow (position: relative) and removes the observer hook so rows scroll with the workspace list without sticky stacking or overflow: hidden on the card clipping nested content.

Verification

  • pnpm run lint:web && pnpm run type-check:web && pnpm --dir src/web-ui run test:run

GCWing added 2 commits May 8, 2026 11:23
Remove sticky positioning and the IntersectionObserver-based stuck state so workspace rows scroll with the list and avoid overflow clipping on the card.
- Make the full card toggle active workspace / session collapse; expanding sessions when switching workspace.

- Stop propagation on collapse, name, and action controls so nested clicks behave predictably.

- Wrap workspace name buttons in a Tooltip showing rootPath.
@GCWing GCWing merged commit 2993c3c into main May 8, 2026
1 check passed
@GCWing GCWing deleted the fix/nav-workspace-list-card-layout branch May 11, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant